export{}
class Person {
    constructor(public name: string) {}
}

class Teacher extends Person {
    constructor(public age: number) {
        super('anzia')
    }
}

const teacher = new Teacher(18)
console.log(teacher.age);
console.log(teacher.name);